CREATE PROCEDURE sp_LOC_DU_LIEU(@name VARCHAR(50), @value VARCHAR(50))
AS
BEGIN
	DECLARE @sql AS VARCHAR(1000);
	SET @sql = 'SELECT * FROM RegisterCourse WHERE ' + @name + '=' + @value;
	EXEC(@sql);
END;